//
//  MySegmentView.h
//  Demo
//
//  Created by MacPro on 15/12/17.
//  Copyright © 2015年 pccb. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MySegmentView : UIView

- (instancetype)initWithFrame:(CGRect)frame withTitle:(NSArray *)titleArray;

/**
 当点击的时候，执行的block
 **/
@property (nonatomic , copy) void (^clickSegmentViewBlock)(NSInteger index);


@end
